package com.ex.android_layout_project.main;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class DataBean {

    @JSONField(name = "contentList")
    private List<ContentListDTO> contentList;

    public List<ContentListDTO> getContentList() {
        return contentList;
    }

    public void setContentList(List<ContentListDTO> contentList) {
        this.contentList = contentList;
    }

    public static class ContentListDTO {
        @JSONField(name = "name")
        private String name;
        @JSONField(name = "nameList")
        private List<NameListDTO> nameList;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<NameListDTO> getNameList() {
            return nameList;
        }

        public void setNameList(List<NameListDTO> nameList) {
            this.nameList = nameList;
        }

        public static class NameListDTO {
            @JSONField(name = "name")
            private String name;
            @JSONField(name = "url")
            private String url;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
